<?php
function jump($type,$url,$time){
if ($type==0){
print <<<EOT
<meta http-equiv="Refresh" content="$time;url=javascript:history.go(-1)" />
EOT;
}else{
print <<<EOT
<meta http-equiv="Refresh" content="$time;url=$url" />
EOT;
}
}

function yanzheng(){
$yanzheng=rand(100,999);
return $yanzheng;
}

function UserIp(){
$ip = $_SERVER["REMOTE_ADDR"];
return($ip);
}

function mydomain($domain){
if($domain=="2.qqxigeorg.sinaapp.com"){
exit;
}
}

function LiuLanQi(){

if(strpos($_SERVER["HTTP_USER_AGENT"],"MSIE 6.0")){
jump(1,"../error.php",0);
}else{
}

}

?>